package designpattern.factoryMethod;

import designpattern.util.RefletUtil;
import designpattern.util.XMLUtil;

/**
 * Created by asus on 2017/10/6.
 */
public class Test {
    public static void main(String[] args) {
        RoomFactory roomFactory= (RoomFactory) RefletUtil.getObject(XMLUtil.getXMLContent("factoryMethedclassName"));
        roomFactory.doSomething();
    }
}
